﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="reg.aspx.cs" Inherits="He.Web.user.reg" %>

<%@ Register Src="_footer.ascx" TagPrefix="uc" TagName="_footer" %>
<%@ Register Src="_header.ascx" TagPrefix="uc" TagName="_header" %>
<%@ Register Src="_head.ascx" TagPrefix="uc" TagName="_head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>用户注册</title>
  <uc:_head runat="server" ID="uc_head" />
  <script type="text/javascript">
    $(document).ready(function () {
      $('#form1').Validform();
    });
  </script>
</head>
<body>
  <uc:_header runat="server" ID="uc_header" />
  <form id="form1" runat="server">
  <div class="boxwrap">
    <div class="main_box">
      <h1 class="main_tit"><span><a href="login.aspx">返回</a></span>会员注册<strong>Register</strong> </h1>
      <div class="reg-box">
        <div class="reg-top">
          <ul class="step">
            <li class="step1"><em>1</em>填写会员信息</li>
            <li class="step2"><em>2</em>验证/审核</li>
            <li class="step3"><em>3</em>注册成功</li>
          </ul>
        </div>
        <div class="reg-con">
          <table class="myform">
            <tr>
              <th><em>*</em>用户名：</th>
              <td>
                <asp:TextBox ID="txtUsername" class="input wide" datatype="s3-16" runat="server" />
              </td>
              <td>
                <div class="Validform_checktip">
                  请填写用户名，3-16位字符</div>
              </td>
            </tr>
            <tr>
              <th><em>*</em>密码：</th>
              <td>
                <asp:TextBox ID="txtUserPwd" TextMode="Password" class="input wide" datatype="*6-20" runat="server" />
              </td>
              <td>
                <div class="Validform_checktip">
                  为了您的帐户安全，您的密码长度必须大于6位</div>
              </td>
            </tr>
            <tr>
              <th><em>*</em>确认密码：</th>
              <td>
                <asp:TextBox ID="txtRePwd" TextMode="Password" class="input wide" datatype="*5-20" recheck="txtUserPwd"
                  runat="server" />
              </td>
              <td>
                <div class="Validform_checktip">
                  请再一次输入密码</div>
              </td>
            </tr>
            <tr>
              <th><em>*</em>Email：</th>
              <td>
                <asp:TextBox ID="txtEmail" class="input wide" datatype="e" runat="server" />
              </td>
              <td>
                <div class="Validform_checktip">
                  填写正确的邮箱地址，忘记密码时可以通过邮箱找回！</div>
              </td>
            </tr>
            <tr>
              <th><em>*</em>验证码：</th>
              <td>
                <asp:TextBox ID="txtCheckcode" class="input small" datatype="*" runat="server" />
                <img src="../tools/verify_code.ashx" style="margin-bottom:-6px; cursor:pointer" onclick="javascript:this.src='../tools/verify_code.ashx?r='+Math.random()"  />
              </td>
              <td></td>
            </tr>
            <tr>
              <td></td>
              <td>
                <asp:Button Text="注 册" OnClick="btnSave_Click" CssClass="btn_submit" runat="server" />
                <asp:Label ID="lblMsg" ForeColor="Red" runat="server" />
              </td>
              <td></td>
            </tr>
          </table>
        </div>
      </div>
      <div class="clear">
      </div>
    </div>
  </div>
  </form>
  <uc:_footer runat="server" ID="uc_footer" />
</body>
</html>
